# helper-scripts
## A collection of scripts we use on pcworms.blog.ir
We use these scripts on pcworms.blog.ir for different purposes.
You need a server to host them. If you don't have one or you can't afford,
simply use a shell server like https://hashbang.sh or http://blinuxshell.ir

### bayan\_avatar.py
This returns the avatar of a person. We(pcworms authors) use this script
to show our avatar next to our names under articles. Author's name
should be sent to server via `q` variable. Example:

```
http://example.com/?q=Farooq Karimi Zadeh
```

Note that you should change the URL of your avatar in scripts file(it 
has been hardcoded). In the case which given name is not one of those
scripts assume, the picture `unknown.jpg` will be returned instead of avatar.
You can change file name and path from `unknown.jpg` to anything.

### goodpost.py [WIP]
This one is for collecting vote of visitors. 
